Skip to main content

mobileSoundChannelVolume

Type

function

Summary

Returns the current volume of the given channel.

Syntax

mobileSoundChannelVolume(<channel>)

Description

Use the mobileSoundChannelVolume function to find the current volume of the given channel.

If you attempt to get the volume of a non-existent channel empty will be returned.

Parameters

NameTypeDescription

channel

The name of the channel.

Examples

get mobileSoundChannelVolume(theChannel)
put mobileSoundChannelVolume("current") into tVolume

command: mobileDeleteSoundChannel, mobilePlaySoundOnChannel, mobileSetSoundChannelVolume, mobilePausePlayingOnChannel, mobileStopPlayingOnChannel, mobileResumePlayingOnChannel

function: mobileSoundOnChannel, mobileNextSoundOnChannel, mobileSoundChannels, mobileSoundChannelStatus

message: soundFinishedOnChannel

Compatibility and Support

Introduced

LiveCode 4.6

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?